package model

import "go-likaladi-shop/common/base_model"

type GoodsCategoryBrand struct {
	base_model.BaseModel       // 嵌入 BaseModel，继承基础字段
	CategoryID           int32 `gorm:"column:category_id;not null"`
	BrandsID             int32 `gorm:"column:brands_id;not null"`
}

// 表名指定（可选）
func (GoodsCategoryBrand) TableName() string {
	return "goodscategorybrand"
}
